package lab02.test02;

public class Circle {
    float radii;
    float girth;    //周长
    float area;     //面积
    float P1 = 3.141592f;

    public void circleGirth(float radii) {

        girth = radii * 2 * P1;
        System.out.println("这个圆的周长是：" + girth);
    }

    void circleArea(float radii) {

        area = P1 * radii * radii;
        System.out.println("这个圆的面积是：" + area);
    }


}

